package com.mingdong.first.mingling.device;

public class Light {

	String slog;
	public Light(String slog){
		this.slog = slog;
	}
	
	public void on(){
		System.out.println(slog + "on");
	}
	
	public void off(){
		System.out.println(slog + "off");
	}
}
